package com.woniuxy.ticket_cinema.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.ticket_cinema.entity.Schedule_seat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author booty
 * @since 2021-02-22
 */
@Mapper
@Repository
public interface Schedule_seatMapper extends BaseMapper<Schedule_seat> {
    //根据排片id和座位id修改状态
    int updateStatus(@Param("scheduleId") int scheduleId,@Param("seatId") int seatId);
}
